package com.frame.work.common.constant;

public class StringKey {
    public static String getKeyOfDevice(String mac) {
        return Const.prefix + ".device." + mac;
    }

    public static String getKeyOfGateway(String mac) {
        return Const.prefix + ".gateway." + mac;
    }

    public static String getKeyOfSocket(String socketKey) {
        return Const.prefix + ".socket." + socketKey;
    }

    public static String getKeyOfGatewayDeviceSet(String mac) {
        return Const.prefix + ".gateway." + mac + ".device.set";
    }

    public static String getKeyOfGatewayDeviceSortedSet(String mac) {
        return Const.prefix + ".gateway." + mac + ".device.sorted.set";
    }

    public static String getKeyOfGatewaySet() {
        return Const.prefix + ".gateway.set";
    }

    public static String getKeyOfGatewaySortedSet() {
        return Const.prefix + ".gateway.sorted.set";
    }

    public static String getKeyOfServerStatus() {
        return Const.prefix + ".server.status";
    }
}
